package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 用户Id作为接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-06-03
 */
public class MemberFeignUserIdVO implements Serializable {
    private static final long serialVersionUID = 8817749262007172096L;

    @NotNull(message = "用户Id要大于0")
    @Positive(message = "用户Id要大于0")
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
